<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form method="post" id="sampleForm" action="${base}/sample/${param.method}.nutz">
<input type="hidden", name="id" value="${obj.id}"/>
<table width="100%" border="1">
<tr>
	<td>名称:</td>
	<td><input name="name" type="text" value="${obj.name}" class="required" size="100"/></td>
</tr>
<tr>
	<td>备注:</td>
	<td>
		<textarea name="remark" rows="5" cols="50">${obj.remark}</textarea>
	</td>
</tr>
<tr>
	<td>性别:</td>
	<td>
		男：<input type="radio" name="sex" value="1" />
		女：<input type="radio" name="sex" value="0"/>
	</td>
</tr>
<tr>
	<td>体重(KG):</td>
	<td><input name="weight" value="${obj.weight}" type="text" class="number"/></td>
</tr>
<tr>
	<td>创建时间:</td>
	<td><input name="createTime" value="${obj.createTimeString}" type="text" onClick="WdatePicker()"/></td>
</tr>
<tr>
	<td colspan="2">
		<input type="submit" value="保存"/> &nbsp; 
		<button onclick="window.location='${base }/sample/list.nutz'">返回</button>
	</td>
</tr>
</table>
</form>